def write_log(log_msg):
    logfile = open("info-log.txt", "a", encoding='utf-8')
    logfile.write(log_msg)
    logfile.write("\r\n")
    logfile.close()
